|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.tif.SubsReflectDetail
public class SubsReflectDetail
This class is used to give more details about the subscription reflect.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="subsReflectdetail">
<xs:complexType>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="type" type="SubsReflectDetailType"/>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="caCode" type="xs:string"/>
<xs:attribute name="caOid" type="xs:string"/>
</xs:complexType>
</xs:element><xs:simpleType name="SubsReflectDetailType">
<xs:restriction base="xs:string">
<xs:enumeration value="decimal"/>
<xs:enumeration value="string"/>
<xs:enumeration value="date"/>
<xs:enumeration value="access"/>
</xs:restriction>
</xs:simpleType>
| Field Summary | |
|---|---|
static int |
ACCESS_TYPE
|
static int |
DATE_TYPE
|
static int |
NUMBER_TYPE
|
static int |
STRING_TYPE
|
| Constructor Summary | |
|---|---|
SubsReflectDetail()
Constructs an empty subscription reflect detail. |
|
SubsReflectDetail(java.lang.String name,
int type,
java.lang.Object value,
java.lang.String caCode,
java.lang.Long caOid)
Builds a complete SubsReflectDetail. |
|
SubsReflectDetail(java.lang.String name,
java.lang.Object value,
java.lang.String caCode,
java.lang.Long caOid)
Builds a complete SubsReflectDetail without type. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.String |
getCaCode()
Returns the charge activation code of the detail. |
java.lang.Long |
getCaOid()
Returns the charge activation id of the detail. |
java.util.Date |
getDateValue()
Returns the value of the detail. |
java.math.BigDecimal |
getDecimalValue()
Returns the value of the detail. |
java.lang.String |
getName()
Returns the name of the detail. |
java.lang.String |
getStringValue()
Returns the value of the detail. |
int |
getType()
Returns the type of the detail. |
java.lang.Object |
getValue()
Returns the value of the detail. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setCaCode(java.lang.String chargeCode)
Sets the charge activation code. |
void |
setCaOid(java.lang.Long caOid)
Sets the charge activation id. |
void |
setValue(java.lang.Object value)
Sets the value and its type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DATE_TYPE
public static final int NUMBER_TYPE
public static final int STRING_TYPE
public static final int ACCESS_TYPE
| Constructor Detail |
|---|
public SubsReflectDetail()
public SubsReflectDetail(java.lang.String name,
int type,
java.lang.Object value,
java.lang.String caCode,
java.lang.Long caOid)
SubsReflectDetail.
name - the detail name.type - the type of the detailvalue - the detail valuecaCode - the charge activation code which owns the detailcaOid - the charge activation id which owns the detail
public SubsReflectDetail(java.lang.String name,
java.lang.Object value,
java.lang.String caCode,
java.lang.Long caOid)
SubsReflectDetail without type.
The detail type is determined by the instance type of value.
name - the detail name.value - the detail valuecaCode - the charge activation code which owns the detailcaOid - the charge activation id which owns the detail| Method Detail |
|---|
public java.lang.String getName()
public void setCaCode(java.lang.String chargeCode)
chargeCode - the charge activation code of the detail.public java.lang.String getCaCode()
public java.lang.Long getCaOid()
public void setCaOid(java.lang.Long caOid)
caOid - the charge activation id.public java.lang.Object getValue()
public java.lang.String getStringValue()
public void setValue(java.lang.Object value)
value - the Object value.public java.util.Date getDateValue()
public java.math.BigDecimal getDecimalValue()
public int getType()
NUMBER - STRING -
DATE - ACCESS
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||